<template>
  <div class="home">
    <h6>已完成{{ $store.getters.num1 }}</h6>
    <h6>未完成{{ $store.getters.num1 }}</h6>
    <h1>来自vuex的数据{{ $store.state.msg }}</h1>
    <hr />
    <child1 />
    <hr />
    <child2 />
  </div>
</template>

<script>
import child1 from "../components/Child1.vue";
import child2 from "../components/Child2.vue";
export default {
  components: {
    child1,
    child2,
  },
};
</script>
